namespace GGPhysics
{
	public struct ColliderBody
	{
		public PhysicsBody body;

		public PhysicsBody.Transform nextTransform;

		public CollisionDetection.AABBBounds bounds
		{
			get
			{
				return body.shape.GetBounds(body.currentTransform, nextTransform);
			}
		}

		public ColliderBody(PhysicsBody body, PhysicsBody.Transform nextTransform)
		{
			this.body = body;
			this.nextTransform = nextTransform;
		}
	}
}
